<?php /* Smarty version 2.6.26, created on 2010-10-24 18:05:12
         compiled from new_practice.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<h3>Nowa oferta praktyki</h3>
<form action="new_practice.php" method="post">
	<label for="">Miasto</label>
	<select id="city" name="city">
		<?php $_from = $this->_tpl_vars['cities']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['city']):
?>
			<option value="<?php echo $this->_tpl_vars['city']['id']; ?>
"><?php echo $this->_tpl_vars['city']['city']; ?>
</option>
		<?php endforeach; endif; unset($_from); ?>
	</select>
	<br/>
	<label for="date_start">Od dnia:</label><input type="text" id="date_start" name="date_start"/><br/> 
	<label for="date_end">Do dnia:</label><input type="text" id="date_end" name="date_end"/><br/> 
	<label for="amount">Ilość miejsc</label><input type="text" id="amount" name="amount"/><br/>
	<label for="paid">Praktyka płatna?</label><input type="checkbox" id="paid" name="paid"/><br/>
	<label for="duties">Zakres obowiązków</label><br/><textarea name="duties" id="duties" rows="5" cols="20"></textarea><br/>
	<label for="requirements">Wymagania</label><br/><textarea name="requirements" id="requirements" rows="5" cols="20"></textarea><br/>
	<label for="technology">Technologie</label><br/>
	<?php $_from = $this->_tpl_vars['technologies']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['tech']):
?>
		<input type="checkbox" name ="tech_id_<?php echo $this->_tpl_vars['tech']['id']; ?>
" id="tech_id_<?php echo $this->_tpl_vars['tech']['id']; ?>
" value="<?php echo $this->_tpl_vars['tech']['id']; ?>
" /> <?php echo $this->_tpl_vars['tech']['technology']; ?>
 <br/>
	<?php endforeach; endif; unset($_from); ?>
	<input type="submit" value="Wyślij" id="send" name="send" />
</form>
<?php echo $this->_tpl_vars['info']; ?>


<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>